trying to stop splash screen appearing on resume