Adding validation to todo tasks, and reorganizing edit form