Add support for closing the app with Escape key