Re-factored mergePlaylists in removeFromPlaylist and addToPlaylist