Bug 1028940 - Exit the edit mode when the homescreen is not visible. r=Cwiiis