Get the current status on startup

The app now gets the current status of the switch to display it