Finished setting up keyboard events