Resolve infinite loop in task form

Resolve infinite loop in link_to_add_association in the task form.
Improve styling of task form commit sub-form.