Cleanup of AppDelegate.m file