A button is pressed and the button beeps after being pressed