Added length and presence validation to todo list title