cleaned the app delegate files