private void tryAdd()
        {
            if (string.IsNullOrWhiteSpace(this.termTextBox.Text))
            {
                this.termTextBox.Focus();
                return;
            }
            if (this.selectedProject.ProjectID == 0 && this.selectedProject.TaskID == 0)
            {
                this.projectTextBox.Focus();
                return;
            }

            if (Toggl.AddAutotrackerRule(
                    this.termTextBox.Text,
                    this.selectedProject.ProjectID,
                    this.selectedProject.TaskID) != 0)
            {
                this.reset();
            }
        }