this really simplifies toggleTodo as it enables it to use current line attributes