Update example and code with new property names thumbTintColor and onTintColor
Fix issue where long presses would not trigger a change in the switch