Fix menu flashing when button is pressed rapidly. Closes #75.