Bug 1076327 - Ignore screenchange event if lockcreen is not ready

If we set two 'ready = true', could we put it before `if...else`?