Changed inputs to buttons.