I'll get the screenshot soon, but the main idea I'm thinking of (it's likely not the cause) is that the data is loaded on start of layout, and maybe that doesn't trigger when opening the game, causing the data to then not load and then being saved at 0
Probably wrong, but I have no idea what else the problem would be.