Changed the public API of the app delegate