changing how buttons are handled