Changed the app delegate

changed app delegate