disable buttons on tablets