creating AppClosingEvent moved to gui