edit AppDelegate.h and AppDelegate.m