Added an apply properties fix for android