private void ArtifactSetsComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        if (_artifactSetsComboBoxSelectionHandled)
        {
            if (!EquipmentHelper.CanArtifactSetsBeChanged())
            {
                AlertBox.Show("Artifact Sets cannot be changed while in combat or questing", MessageBoxButton.OK);

                var comboBox = sender as ComboBox;
                _artifactSetsComboBoxSelectionHandled = false;
                comboBox.SelectedItem = e.RemovedItems[0];

                return;
            }

            var artifactSetName = e.AddedItems[0]?.ToString();

            var artifactSetId = User.Instance.CurrentHero.ArtifactSets.FirstOrDefault(x => x.Name == artifactSetName).Id;

            EquipmentHelper.SwitchArtifactSet(artifactSetId);

            // Refresh the entire panel.
            RefreshWholeArtifactsPanel();
            ArtifactsScrollViewer.ScrollToTop();
        }

        _artifactSetsComboBoxSelectionHandled = true;
    }