protected override async void OnAppearing()
        {
            base.OnAppearing();

            DijnetCredential dijnetCredential = await credentialManager.GetStoredCredentialAsync();

            if (firstAutoLogin)
            {
                firstAutoLogin = false;

                bool success = await TryAutoLoginAsync(dijnetCredential);

                if (!success)
                {
                    EnableManualLogin(dijnetCredential);
                }
            }
            else
            {
                EnableManualLogin(dijnetCredential);
            }

            ViewModel.IsLoggingIn = false;
        }