Fixed setOn:

switch.on = bool; didn't update the appearance of the switch.
Merge pull request #7 from fjolnir/master

Fixed setOn: