renamed savePlaylist