Fixed method for updating pet coins. Close #247

I don't know what `checkBalance` is and why do we even need all that overflow stuff. I didn't find any real usage of it. So I leave it as is for the next refactoring wave.