Don't lookup key twice in keyLookup
Merge pull request #576 from sergey-miryanov/keyboard

Don't lookup key twice in keyLookup