private void NewReward(IRewardHandler handler)
        {
            NewRewardDropDown.IsOpen = false;

            // var action = (sender as Button)?.DataContext as ActionViewModel;
            var newReward = new Reward
            {
                Handler    = handler.GetType().Name,
                RewardSpec = new RewardSpec {
                    Title = "New Reward"
                },
            };
            var settingsType = handler.RewardConfigType;

            if (settingsType != null)
            {
                newReward.HandlerConfig = Activator.CreateInstance(settingsType);
            }

            Model.EditedSettings.Rewards.Add(newReward);
            Model.RefreshActionList();
            ActionsListBox.SelectedItem = newReward;
        }
        public IRewardHandler SetNext(IRewardHandler handler)
        {
            this._nextHandler = handler;

            return(handler);
        }