Update MainActivity.java, Issue #352 fix

updateUI() manually sets the button state using setChecked() method