calling switchOff when disabling the control