         let results = object.dynamicList(propertyName)
         return Array(results)
     }
+    
+    // MARK: - Actions
 
     @objc func actionToggleEdit(_ id: UIBarButtonItem) {
         isEditMode.toggle()
         if isEditMode {
-            id.title = "Finish"
+            navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: .toggleEdit)
         } else {
-            id.title = "Edit"
+            navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .edit, target: self, action: .toggleEdit)
         }
         viewRealm.tableView.reloadData()
     }

}

extension RealmPropertyBrowser: UITableViewDataSource {
    public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        guard let cell = tableView.dequeueReusableCell(withIdentifier: RealmPropertyCell.identifier) else {
            fatalError("Could not load a cell.")
        }
        if let cell = cell as? RealmPropertyCell {
            cell.delegate = self
        }

        return cell
    }
    public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {

    }
}

private extension Selector {
    static let toggleEdit = #selector(RealmPropertyBrowser.actionToggleEdit(_:))
}

extension RealmPropertyBrowser: RBSRealmPropertyCellDelegate {
    func textFieldDidFinishEdit(_ input: String, property: Property) {
        savePropertyChangesInRealm(input, property: property)
    }
}
