Mode switching...prevent if new mode set would just reverse the switch.