VLCPlaybackService: Save playback state when the playback ends
This merge request brings a fix to:
- The playback state that is now saved when the playback ends.
This allows to save the new progression of the media when the user skips to next one or repeats the same media using the proper repeat modes.