protected async override void OnAppearing()
        {
            base.OnAppearing();
            searchAppointments = await InspectionLogTools.SearchAppointments("", currentUser);

            SearchListView.ItemsSource = searchAppointments;
            if (searchAppointments.Count > 0)
            {
                SaveReportBtn.IsVisible = true;
            }
            else
            {
                SaveReportBtn.IsVisible = false;
            }
        }
        private async void searchBar_SearchButtonPressed(object sender, EventArgs e)
        {
            string search = searchBar.Text;

            searchAppointments = await InspectionLogTools.SearchAppointments(search, currentUser);

            SearchListView.ItemsSource = searchAppointments;
            if (searchAppointments.Count > 0)
            {
                SaveReportBtn.IsVisible = true;
            }
            else
            {
                SaveReportBtn.IsVisible = false;
            }
        }