private async void RefreshWiFi()
        {
            try {
                await wiFiAdapter_.ScanAsync();
            } catch (Exception err) {
                WiFiProblemNotification.Show($"Błąd skanowania sieci WiFi!\nError: {err.HResult} - {err.Message}", 5000);
                return;
            }

            DisplayNetworkReportAsync(wiFiAdapter_.NetworkReport);
        }
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            if (e.Parameter is TextBlock headerTextBlock)
            {
                headerTextBlock.Text = "Ustawienia WiFi";
            }

            if (GetDeviceType() == DeviceType.IoT)
            {
                var access = await WiFiAdapter.RequestAccessAsync();

                if (access != WiFiAccessStatus.Allowed)
                {
                    WiFiProblemNotification.Show("Dostęp wzbroniony!", 5000);
                }
                else
                {
                    var result = await WiFiAdapter.FindAllAdaptersAsync();

                    if (result.Count >= 1)
                    {
                        wiFiAdapter_ = result[0];

                        RefreshWiFi();
                    }
                    else
                    {
                        WiFiProblemNotification.Show("Nie wykryto żadnego adaptera WiFi!", 5000);
                    }
                }
            }
            else
            {
                WiFiProblemNotification.Show("Błąd! Twoje urządzenie nie daje możliwości manipulacji WiFi", 5000);
                await Task.Delay(7000);

                WiFiProblemNotification.Show(AnalyticsInfo.VersionInfo.DeviceFamily);
            }
        }