Making Switches controllable via the UI