change user input to buttons