editing a todo preserves selection highlight