add length and validation to todo list title