Added responses to button being pressed. TODO: check_button()