b697e7bdf1
using the 'completed' attribute of the todo task. This fixes some issues were a task was at the same time in the todoIds and completedIds.