Android toggle buttons are inconsistent.  The XML attribute you define for a toggle event is called "onClick", but the event listener should hook into onCheckedChanged().

This should correct the odd swipe vs click events in #980.
Merge pull request #986 from crankycoder/features/980-togglebuttons

980 - fix the listener for the on/off switch