public async static Task ShowCheckInternet(bool showAgain = false)
        {
            if (InternetOrServeHelper.ShowNoInternetMessage == false && App.Current.MainPage != null)
            {
                InternetOrServeHelper.ShowNoInternetMessage = true;
                string message = showAgain == true ? AlertMessages.StillNoInternetConnection : AlertMessages.internetconnection;

                LoadingIndicatorHelper.HideIndicator();

                await App.Current.MainPage.DisplayAlert("Internet Connection", message, "Okay");

                if (!CrossConnectivity.Current.IsConnected)
                {
                    InternetOrServeHelper.ShowNoInternetMessage = false;
                    await ShowCheckInternet(true);
                }
                else
                {
                    if (!string.IsNullOrEmpty(Settings.AccessToken))
                    {
                        InternetOrServeHelper.ShowNoInternetMessage = false;
                        if (EmployeeProfileHelper.EmployeeCurrentProfile == null ||
                            EmployeeProfileHelper.EmployeeCurrentProfile.User == null)
                        {
                            await EmployeeProfileHelper.RefreshEmployeeCurrentProfile(true);
                        }
                    }
                }
            }
        }