private async Task LoadDataAsync()
        {
            if (carIndex == -1)
            {
                return;
            }
            var carInfo = await AppData.AppData.cars[carIndex].GetData();

            carPhoto    = carInfo.photo;
            ECname.Text = carInfo.name;
            ECage.Text  = $"{carInfo.age}";
            await UpdateCarPhotoAsync();
        }
        private async Task GetAPhotoForCar()
        {
            var file = await GetAPhotoAsync();

            if (file == null)
            {
                await DisplayAlert("", "Canceled", "OK");

                return;
            }
            else
            {
                IMGcar.IsEnabled = false;
                AImain.IsRunning = AImain.IsVisible = true;
                carPhoto         = await AppData.PhotoInfo.New(file.GetStream());
                await UpdateCarPhotoAsync();

                AImain.IsRunning = AImain.IsVisible = false;
                IMGcar.IsEnabled = true;
            }
        }