add toggle switch widget in config option
Merge pull request #730 from chrox/toggle_switch

add toggle switch widget in config option