Fixed some bugs

Saving track progress when you close the app.