added switch button from flat ui