Waiting for the app to launch