Addition of AppDelegate