Database is now properly initialized, and MainActivity is updated onResume()