Switch state not false or true

I didn’t see until now that this question was double posted.

So essentially the same answer.