/// <summary>
        /// Updates the UI when a player has left.
        /// </summary>
        /// <param name="playerName"></param>
        private void OnPlayerLeft(string playerName)
        {
            _manager.RemoveParticipant(_playerToParticipantMap[playerName]);
            _playerToParticipantMap.Remove(playerName);

            if (PlayerNames.Remove(playerName))
            {
                SubmittedAnswers.Remove(playerName);
                OnPropertyChanged(nameof(PlayerNames));
                OnPropertyChanged(nameof(SubmittedAnswers));
            }
        }