             self.tableView.setEditing(false, animated: true)
             self.navigationItem.leftBarButtonItem = nil
             self.navigationItem.rightBarButtonItem = self.editBarButtonItem
+            self.setupBackButtonGestureRecognizer()
         }
 
         self.newBarButtonItem = UIBarButtonItem(barButtonSystemItem: .add) { _ in

                    self.flashRow(at: lastIndexPath)
                }
            }
        }
    }


    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)

        setupBackButtonGestureRecognizer()
    }

    override func applyTheme() {
