Initiate query as soon as we enter the app (but not too soon)