change dbOnSdCard to dbAtCacheDir