Added feature for edit/non-edit on table view.