Made controller responsible for the button presses.