     func showCrashList(_ deviceID: String?) {
         self.tabView.selectTabViewItem(at: .crashImporterIndex)
         self.crashViewController.reloadData(withDeviceID: deviceID)
-        self.toggleToolbarItems()
+        self.updateToolbar()
     }
     
     func showFileList(_ deviceID: String?, appID: String?) {
         self.tabView.selectTabViewItem(at: .fileBrowserIndex)
         self.fileViewController.reloadData(withDeviceID: deviceID, appID: appID)
-        self.toggleToolbarItems()
+        self.updateToolbar()
     }
 }

        // Do view setup here.
    }
    
    private func toggleToolbarItems() {
        guard let item = self.tabView.selectedTabViewItem,
              let toolbar = self.view.window?.toolbar
        else {

        }
        
        let index = self.tabView.indexOfTabViewItem(item)
        if index == .fileBrowserIndex {
            toolbar.toggleRemoveItem(visiable: true)
            self.view.window?.title = NSLocalizedString("File Browser", comment: "")
        } else {
            toolbar.toggleRemoveItem(visiable: false)
            self.view.window?.title = NSLocalizedString("Crash Log", comment: "")
        }
    }
    
    private var crashViewController: CrashImporterViewController! {
