private void InstanceOnExtendedStatusUpdate(object sender, ExtendedStatusUpdateParser e)
        {
            Dispatcher.Invoke(() =>
            {
                if (BluetoothService.Instance.ActiveModel == Model.Buds)
                {
                    EQToggle.SetChecked(e.EqualizerEnabled);
                    DolbyToggle.SetChecked(e.EqualizerMode < 5);

                    int preset = e.EqualizerMode;
                    if (preset >= 5)
                    {
                        preset -= 5;
                    }

                    UpdateSlider(preset);
                }
                else
                {
                    EQToggle.SetChecked(e.EqualizerMode != 0);
                    if (e.EqualizerMode == 0)
                    {
                        UpdateSlider(2);
                    }
                    else
                    {
                        UpdateSlider(e.EqualizerMode - 1);
                    }
                }
            });
        }
 private void DolbyMode_OnMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     DolbyToggle.Toggle();
     UpdateEqualizer();
 }