public RunTabbedPage()
        {
            InitializeComponent();

            NavigationPage.SetHasNavigationBar(this, false);

            _locationService = DependencyService.Get <ILocationService>();
            _locationService.AddLocationChangedListener(_locationService_LocationChanged);

            RunStartRunButton.Clicked   += StartRunButton_Clicked;
            StatsStartRunButton.Clicked += StartRunButton_Clicked;

            RunPauseButton.Clicked   += PauseButton_Clicked;
            StatsPauseButton.Clicked += PauseButton_Clicked;

            RunCancelButton.Clicked   += RunCancelButton_Clicked;
            StatsCancelButton.Clicked += RunCancelButton_Clicked;

            RunResumeButton.Clicked   += PauseButton_Clicked;
            StatsResumeButton.Clicked += PauseButton_Clicked;

            RunFinishButton.Clicked   += FinishButton_Clicked;
            StatsFinishButton.Clicked += FinishButton_Clicked;

            _timer = new Timer()
            {
                Interval = 1000
            };
            _timer.Elapsed += _timer_Elapsed;
            _timer.Start();

            _locations = new List <LocationData>();

            if (_locationService.GetQuickLocation() is LocationData currentLoc)
            {
                RunMap.MoveToRegion(MapSpan.FromCenterAndRadius(currentLoc.GetPosition(), Distance.FromKilometers(0.1d)));
            }
        }