Update to make timer work in data saving.
Merge pull request #6 from Clashnia/saving

Update to make timer work in data saving.