980 - fix the listener for the on/off switch

Changes the toggle switch to use onCheckedChanged() which corrects tap vs swipe gestures on the on/off switch.