private async void Window_Loaded(object sender, RoutedEventArgs e)
        {
            txtType.Text        = SelectedExpense.Type;
            txtDescription.Text = SelectedExpense.Description;
            txtLocation.Text    = SelectedExpense.Address;
            txtAmount.Text      = SelectedExpense.Cost.ToString();
            Chart.Height        = (SelectedExpense.Cost * 400) / 1000;

            var result = await MapLocationFinder.FindLocationsAsync(SelectedExpense.Address, null);

            var location = result.Locations.FirstOrDefault();

            if (location != null)
            {
                await ExpenseMap.TrySetViewAsync(location.Point, 13);
            }
        }
        private async void Window_Loaded(object sender, RoutedEventArgs e)
        {
            txtType.Text        = SelectedExpense.Type;
            txtDescription.Text = SelectedExpense.Description;
            txtLocation.Text    = SelectedExpense.Address;
            txtAmount.Text      = SelectedExpense.Cost.ToString();
            Chart.Height        = (SelectedExpense.Cost * 400) / 1000;

            DesktopBridge.Helpers helpers = new DesktopBridge.Helpers();
            if (helpers.IsRunningAsUwp())
            {
                var result = await MapLocationFinder.FindLocationsAsync(SelectedExpense.Address, null);

                var location = result.Locations.FirstOrDefault();
                if (location != null)
                {
                    await ExpenseMap.TrySetViewAsync(location.Point, 13);
                }
            }
            else
            {
                ExpenseMap.Visibility = System.Windows.Visibility.Collapsed;
            }
        }