validations for editing task list