add toggle switch widget in config option