Simplified the toggle switch control a bit.
Simplified the toggle switch control a bit.

BlessNeo/spectacle,owlinux/spectacle,stevemao/spectacle,mindriot101/spectacle,adamm/spectacle,brnZ/spectacle,holtkamp/spectacle,maxx/spectacle