Fixed only checking for button press every ~2.5 sec