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

        }
        
        let index = self.tabView.indexOfTabViewItem(item)
        toolbar.toggleRemoveItem(visiable: index == .fileBrowserIndex)
    }
    
    private var crashViewController: CrashImporterViewController! {

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