set done attribute on todo-item element