changed error in logic to flow in moving item from List to Cart