Update MainActivity.java, Button->CompoundButton

need to use a subclass to use the setChecked() method