Fix init call in app delegate