making the button listeners only fire when the button is pressed  (not also when it's released)