Set the Switch to the right state upon initialisation.