Added boilerplate for button presses