added title length validation to todo list title