/// <summary>
 /// Method that handles a HomeToBorderDistance message from the page
 /// </summary>
 /// <param name="sender"></param>
 private void HandleHomeToBorderDistanceMessage(FinishDrivePage sender)
 {
     try
     {
         Definitions.Report.HomeToBorderDistance = Convert.ToDouble(_homeToBorderDistance);
     }
     catch (Exception e)
     {
         // ONLY happens if user somehow writes letters with numeric keyboard?
         // Can happen in a simulator
     }
     InitializeCollection();
     sender.PopUpLayout.DismissPopup();
 }
 /// <summary>
 /// Method that handles a select hometoborderdistance message from the page
 /// </summary>
 /// <param name="sender"></param>
 private void HandleSelectHomeToBorderDistanceMessage(FinishDrivePage sender)
 {
     sender.PopUpLayout.ShowPopup(sender.HomeToBorderDistancePopup());
 }
 /// <summary>
 /// Method that handles a HomeToBorderDistance message from the page
 /// </summary>
 /// <param name="sender"></param>
 private void HandleHomeToBorderDistanceMessage(FinishDrivePage sender)
 {
     try
     {
         Definitions.Report.HomeToBorderDistance = Convert.ToDouble(_homeToBorderDistance);
     }
     catch (Exception e)
     {
         // ONLY happens if user somehow writes letters with numeric keyboard?  
         // Can happen in a simulator
     }
     InitializeCollection();
     sender.PopUpLayout.DismissPopup();
 }
 /// <summary>
 /// Method that handles a NewKm message from the page
 /// </summary>
 private void HandleNewKmMessage(FinishDrivePage sender)
 {
     try
     {
         Definitions.Report.Route.TotalDistance = Convert.ToDouble(_newKm);
         // When the user inputs new KM the route needs to be cleared
         Definitions.Report.Route.GPSCoordinates.Clear();
     }
     catch (Exception e)
     {
         // ONLY happens if user somehow writes letters with numeric keyboard?  
         // Can happen in a simulator
     }
     InitializeCollection();
     sender.PopUpLayout.DismissPopup();
 }
 /// <summary>
 /// Method that handles a select hometoborderdistance message from the page
 /// </summary>
 /// <param name="sender"></param>
 private void HandleSelectHomeToBorderDistanceMessage(FinishDrivePage sender)
 {
     sender.PopUpLayout.ShowPopup(sender.HomeToBorderDistancePopup());
 }
 /// <summary>
 /// Method that handles a select editKm message from the page
 /// </summary>
 /// <param name="sender"></param>
 private void HandleSelectEditKmMessage(FinishDrivePage sender)
 {
     sender.PopUpLayout.ShowPopup(sender.EditKmPopup());
 }