protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            Window.AddFlags(WindowManagerFlags.Secure);
            Xamarin.Forms.Forms.Init(this, savedInstanceState);
            var data = Intent.Data;

            if (data != null)
            {
                EventTracker.TrackEvent("BankID callback", new Dictionary <string, string> {
                    { "url", data.ToString() }
                });
            }
            if (data != null && AppConstant.AppScheme.StartsWith(data.Scheme, StringComparison.CurrentCultureIgnoreCase) && currentFragment is BankIdOptionsFragment && loginPresenter != null)
            {
                loginPresenter.CheckAuthResponse(data.ToString());
            }
            else
            {
                Xamarin.Essentials.Platform.Init(this, savedInstanceState);
                Initialize();
                SetContentView(Resource.Layout.activity_main);
                rootLayout                  = FindViewById(Resource.Id.rootView) as ViewGroup;
                bottomNavigation            = FindViewById <BottomNavigationView>(Resource.Id.bottom_navigation);
                bottomNavigation.Visibility = ViewStates.Gone;
                bottomNavigation.SetShiftMode(false, false);
                bottomNavigation.NavigationItemSelected += BottomNavigation_NavigationItemSelected;
                bottomNavigation.SelectedItemId          = Resource.Id.menu_dashboard;
                Start();
                Common.CommonImpl.NotificationHandler.Instance.Register();
            }
        }