Added a way to quit the app(ESC key)