AppDelegate edit

and xcode close