change AppDelegate