Updated App Delegate