responds to all button presses