Fixed the bug with short presses