/// <summary>
        /// Updates selected playlist whenever a new playlist is selected
        /// </summary>
        /// <param name="playlist">Playlist which is the newly selected one</param>
        private async void PlaylistChanged(PlaylistItem playlist)
        {
            // Find playlist in UserPlaylists
            PlaylistItem selectPlaylist = UserPlaylists.items.FirstOrDefault(up => up.id == playlist.id);

            // Set playlist to the found one
            SelectedPlaylist = selectPlaylist;

            // Load the new tracks
            Tracks = await _spotifyApi.GetTracksAsync(selectPlaylist.id);
        }