private bool ValidateProject()
        {
            // Hide error label
            label_error.Visible = false;

            // Store checkboxes status
            _api.ShowDetails     = checkBox_details.Checked;
            _api.ShowSummary     = checkBox_summary.Checked;
            _api.ShowLastComment = checkBox_lastComment.Checked;

            // If no project name is defined, reset group_id and show error
            if (String.IsNullOrEmpty(textBox_name.Text))
            {
                textBox_ID.Text     = "";
                label_error.Visible = true;
                return(false);
            }

            // If project name has changed or the plugin is not configured, check for the group_id
            if (textBox_name.Text != _api.ProjectName || !_api.IsConfigured)
            {
                if (_api.FindGroupId(textBox_name.Text))
                {
                    UpdateFields();
                    return(true);
                }

                label_error.Visible = true;
                return(false);
            }

            return(true);
        }