switching to buttons