                     self.editBar.isEnabled = true
                     self.doneBar.isEnabled = true
                     self.setToolbarItems([self.reloadBar, self.flexibleSpaceBar, self.editBar], animated: true)
-                    self.tableView.setEditing(false, animated: true)
+                    self.tableView?.setEditing(false, animated: true)
                 case .loadingNotEditing:
                     self.editBar.isEnabled = false
                     self.doneBar.isEnabled = false
                     self.reloadBar.isEnabled = true
                     self.setToolbarItems([self.loadingBar, self.flexibleSpaceBar, self.editBar], animated: true)
-                    self.tableView.setEditing(false, animated: true)
+                    self.tableView?.setEditing(false, animated: true)
                 case .notLoadingEditingNoneSelected:
                     self.tagBar.isEnabled = false
                     self.archiveBar.isEnabled = false

    }
    
    @objc fileprivate func archiveButtonTapped(_ sender: NSObject?) {
        
    }
    
    @objc fileprivate func reloadButtonTapped(_ sender: NSObject?) {

        }
        
        // configure the tableview
        self.tableView?.allowsMultipleSelection = true
        
        // configure the toolbar
        self.uiState = .notLoadingNotEditing
