typo and time delay for button press