fixes #12 by implementing onClickListener rather than onCheckedChangeListener for the switch.