Add length and validation to todo list title