Fixed Android bug with Function.apply
More Android fixes regarding Function.apply