set boolCompletedTodos in buildTodosList