Added a key event listener to JournalApp.java