fix bug in cart
remember state of cart button