         super.viewDidAppear(animated)
         
         #if targetEnvironment(simulator)
-        openShow(animated: false)
+        if !hasRestored { openShow(animated: false) }
         #endif
     }
     

class ShowBrowserViewController: UIDocumentBrowserViewController {
    
    var transitionController: UIDocumentBrowserTransitionController?
    
    override func viewDidLoad() {
        super.viewDidLoad()

        if let bookmarkData = coder.decodeObject(forKey: "showBookmarkData") as? Data {
            var isStale = false
            if let url = try? URL(resolvingBookmarkData: bookmarkData, bookmarkDataIsStale: &isStale), url.isFileURL {
                hasRestored = true
                openShow(at: url, animated: false)
            }
        }
