Edit of AppDelegate