static private void SaveEnd()
 {
     if (UIComp720.ID != -1)//for when previous is displayed.
     {
         EndModel end = new EndModel(endRef, UIComp720.ID, endTtl, arrw1, arrw2, arrw3, arrw4, arrw5, arrw6);
         App.Database.InsertEnds(end);
         App.Database.UpdateFinalScore(UIComp720.ID, calcRTComp.curRT, UIComp720.dtlID, "720Competition");
     }
 }
        static public void HoldEnds(string anEndRef, int anEndTotal, string aScore1, string aScore2, string aScore3, string aScore4, string aScore5, string aScore6)
        {
            EndModel end = new EndModel(anEndRef, UIPractice.PracID, anEndTotal, aScore1, aScore2, aScore3, aScore4, aScore5, aScore6);


            if (!hold.ContainsKey(anEndRef))
            {
                hold.Add(anEndRef, end);
            }
            else
            {
                hold.Remove(anEndRef);
                hold.Add(anEndRef, end);
            }
        }