Added app delegate