Adding toggleswitch to identify the next switching state (true in the first go)