Fix NavigationDrawer open on start-up bug

Fix the bug that the navigation drawer is sometimes open when the app is started (it should be closed on start-up)