ignores keypress for tokens
Merge pull request #1156 from NimbusBP1729/keypressed_bug

ignores keypress for tokens