Controlling the splash screen from your application