Adding escape key to exit