Splash screen and shared preferenes setup