Splash Activity modified and fixed the crash due to database lock.