public void OnNameChangeRequested(Command command, string newName) { mainPresenter.Model.ChangeCommandName(mainPresenter.ActiveProfile, command, newName); mainPresenter.CommandNameChanged(command); }