Fix key events
Merge pull request #11 from ajile/master

Fix key events