private void InstanceOnOtherOption(object sender, TouchOption.Universal e)
        {
            int action;

            if (e == TouchOption.Universal.OtherL)
            {
                if (Settings.Default.LeftCustomAction == -1)
                {
                    return;
                }
                action = Settings.Default.LeftCustomAction;
            }
            else if (e == TouchOption.Universal.OtherR)
            {
                if (Settings.Default.RightCustomAction == -1)
                {
                    return;
                }
                action = Settings.Default.RightCustomAction;
            }
            else
            {
                return;
            }

            switch ((CustomAction.Actions)action)
            {
            case CustomAction.Actions.EnableEqualizer:
                Dispatcher.Invoke(() =>
                {
                    EQToggle.Toggle();
                    UpdateEqualizer();
                });
                break;

            case CustomAction.Actions.SwitchEqualizerPreset:
                Dispatcher.Invoke(() =>
                {
                    var newVal = PresetSlider.Value + 1;
                    if (newVal >= 5)
                    {
                        newVal = 0;
                    }

                    PresetSlider.Value = newVal;
                    EQToggle.SetChecked(true);
                    UpdateEqualizer();
                });
                break;
            }
        }
 private void EnableEQ_OnMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     EQToggle.Toggle();
     UpdateEqualizer();
 }