Logic: add status for done or not done to tasks.