Make restoring MobileSafari.app more robust.