private async void TimerElapsedHandler(ThreadPoolTimer timer)
 {
     try
     {
         await measurements.GetAllMeasurements(bandInstance);
         await InsertSample();
     }
     catch (Exception e)
     {
         EndLoadingIcon();
     }
 }