Bug 899328 - Register only one listener for mozbrowserloadend and appopen (v1-train PR)