Bug 1027232 - Wait for the homescreen to be ready

nit: If you're going to use a local var, might as well do it before checking `lockScreenWindowManager`