Added app delegate accessor.