button presses switch statement