Added length and presence validation to the todo list title