changed button to be CheckBox so it can be changed onClick