changed timing for change of operation mode

Change of "Mode of operation" only allowed during "Switch on disabled", "Ready to switch on" and "Switched on"