Corrected the todoitem class