if (tagName.equals("INPUT")) {
// if so, synchronize the model state
InputElement input = clickedElement.cast();
value.setCompleted(input.isChecked());
eventBus.fireEvent(new ToDoUpdatedEvent(value));
// update the 'row' style
if (input.isChecked()) {
getViewRootElement(parent).addClassName("completed");
} else {