fix toggle for android