Now the status of tasks will be stored in the database.