Im using a basic ecommerce app where after the user adds an item to cart, it counts only after i refresh the app (problem 1), after which when the user successfully pays for the