fixed the switch button text bug