Disable Reset and HardReset when switch is off