private void ProblemStepList_ItemLongClick(object sender, AdapterView.ItemLongClickEventArgs e)
        {
            ProblemStep problemStep = null;
            ProblemSolvingStepsFragment stepFragment = null;

            Log.Info(TAG, "ProblemStepList_ItemLongClick: selected item - " + e.Position.ToString() + ", problemID - " + _problemID.ToString());
            problemStep = GlobalData.ProblemSolvingItems.Find(prob => prob.ProblemID == _problemID).ProblemSteps[e.Position];
            if (problemStep != null)
            {
                stepFragment = new ProblemSolvingStepsFragment(this, "Edit Step", _problemID, problemStep.ProblemStepID, problemStep.ProblemStep.Trim(), problemStep.PriorityOrder);
            }
            var fragmentTransaction = FragmentManager.BeginTransaction();

            if (fragmentTransaction != null)
            {
                stepFragment.Show(fragmentTransaction, stepFragment.Tag);
            }
        }
        private void Add()
        {
            try
            {
                ProblemSolvingStepsFragment stepFragment = null;

                Log.Info(TAG, "Add_Click: passing -1 for stepID, problemID is " + _problemID.ToString());
                stepFragment = new ProblemSolvingStepsFragment(this, "Add Step", _problemID, -1);

                var fragmentTransaction = FragmentManager.BeginTransaction();
                if (fragmentTransaction != null)
                {
                    stepFragment.Show(fragmentTransaction, stepFragment.Tag);
                }
            }
            catch (Exception ex)
            {
                Log.Error(TAG, "Add_Click: Exception - " + ex.Message);
                if (GlobalData.ShowErrorDialog)
                {
                    ErrorDisplay.ShowErrorAlert(this, ex, GetString(Resource.String.ErrorProblemSolvingStepsActivityAdd), "ProblemSolvingStepsActivity.Add_Click");
                }
            }
        }