added onReady in app delegate