add show text function to UISwitch