Fixed a bug with the switch which would remain active even if hidden, disabled, or has userInteractionEnabled set to NO.
Merge pull request #2 from ChrisGrant/bugs

Fixed a bug with the switch