I see this code in a few places. Would it be worth adding a method to the homescreen app like `wait_for_app_displayed` or something, which encapsulates this code?