add edit mode in main table view