updated the playlist view model so that it will save/restore its state