How to prevent data loss if I want to save every time coins save

Just use ProfileService for this goal?