Simplify handler by using createCartItem, make compiler pass replace argument