Update edit_cart.cpp

Allow for saving of edited cart when duplicate cart titles are NOT allowed;  Without this fix, it is impossible to edit existing carts when the global configuration does not permit duplicate cart names.