Added async loading of database and async storage of entered data.