this doesn't belong here. if we really needs to wait for the transition to finish before we can interact with the app I think we should move this logic into the `app.launch` method.