Format appDelegate.