public void HandleConfirm()
        {
            int current;

            if (!int.TryParse(CurrentNumberText.text, out current))
            {
                return;
            }

            int next;

            if (!int.TryParse(NextNumberText.text, out next))
            {
                return;
            }

            var offset = current - next;

            if (offset == Decrement)
            {
                CurrentNumberText.text = NextNumberText.text;
                NextNumberText.text    = string.Empty;

                UnityUtil.EnableObject(IndicatorCorrect);

                var trialDuration = DateTime.Now - _trialStartTime;
                PrimaryTaskTrialCompleted?.Invoke(this, new PrimaryTaskEventArgs(TaskName, _trialCounter, "TRUE",
                                                                                 _numErrorsInTrial.ToString("D"), trialDuration.TotalMilliseconds.ToString("F1"),
                                                                                 next.ToString("D"), current.ToString("D")));

                _trialCounter++;
                _numErrorsInTrial = 0;
                _trialStartTime   = DateTime.Now;
            }
            else
            {
                PrimaryTaskTrialCompleted?.Invoke(this, new PrimaryTaskEventArgs(TaskName, _trialCounter, "FALSE", next.ToString("D"), current.ToString("D")));

                _numErrorsInTrial++;

                UnityUtil.EnableObject(IndicatorFalse);
                NextNumberText.text = string.Empty;
            }
        }
        private void HandleSolutionConfirmed(bool solutionIsCorrect)
        {
            if (solutionIsCorrect)
            {
                UnityUtil.EnableObject(IndicatorCorrect);
            }
            else
            {
                UnityUtil.EnableObject(IndicatorFalse);
            }

            var trialDuration = DateTime.Now - _trialStartTime;

            PrimaryTaskTrialCompleted?.Invoke(this, new PrimaryTaskEventArgs(TaskName, _trialCounter, solutionIsCorrect ? "TRUE" : "FALSE", "-1", trialDuration.TotalMilliseconds.ToString("F3")));


            _trialStartTime = DateTime.Now;
            _trialCounter++;
        }