clean up AppDelegate.m file