Fixed database recreation issue running on emulator