private static void FillStatistics(Activity activity)
        {
            var distance = StatisticsHelper.CreateGroup("distance", 0, "", "total distance",
                                                        activity.DistanceUserMeasurementUnit).Details[0];

            var speedGroup = StatisticsHelper.CreateGroup("speed", 1, "", "average speed",
                                                          activity.AverageSpeedUserMeasurementUnit);

            StatisticsHelper.CreateDetailForGroup(speedGroup, 1, "", "max speed",
                                                  activity.MaxSpeedUserMeasurementUnit);

            var movingTime = StatisticsHelper.CreateGroup("time", 2, "", "moving time",
                                                          $"{Helpers.Converters.SecToTimeConverter.Convert(activity.MovingTime, typeof(int), null, string.Empty)}").Details[0];

            var elevationGain = StatisticsHelper.CreateGroup("elevation", 3, "", "elevation gain",
                                                             activity.ElevationGainUserMeasurementUnit).Details[0];

            var heartRateGroup = StatisticsHelper.CreateGroup("heart rate", 4, "", "average heart rate",
                                                              $"{activity.AverageHeartrate} bpm");

            StatisticsHelper.CreateDetailForGroup(heartRateGroup, 1, "", "max heart rate",
                                                  $"{activity.MaxHeartrate} bpm");

            activity.Statistics.Add(distance);
            activity.Statistics.Add(speedGroup.Details[0]);
            activity.Statistics.Add(speedGroup.Details[1]);
            activity.Statistics.Add(movingTime);
            activity.Statistics.Add(elevationGain);
            activity.Statistics.Add(heartRateGroup.Details[0]);
            activity.Statistics.Add(heartRateGroup.Details[1]);
        }