Ok I changed a few things and now the only problem is that if I add cash and leave it saves the new cash the only problem is if I take away cash it doesn’t save and loads the new cash amount and if I buy something then add more it adds the amount I had then the amount I added.
Example.
I have 15
I buy something for 15
I add 5
It gives me 20