Updated code for registering key binding
Merge pull request #29 from engelfrost/master

Updated code for registering key binding