adding button for switch.