Fixed. On canceling, empty item was adding

Fixed a bug.
On Add/Edit When item is not entered, press the back button, an empty
item was being added.