Fixing bug with setPlaylistVisibility