issue with Switches plz help

You should use onClick() .