added a refresh data method for edit view controller
Added table view reload when item is added