Hi,
Yes, that is a pity as the Edit row will activate the Edit mode of the form so disabling the button will counter that. Workaround is to disable the Edit button with the Layout procedure and re-enabling it when the Task is executed. You'll need a value somewhere (for instance in the row you want to edit) that either dictates if the Edit button is available or not. After executing the Task, that value will change from 0 to 1, refresh the Table (to activate the Layout procedure once again) and the Edit button should be available. Then when the user stops or finishes editing, change the value back to 0.
If the Form is not too large, you could let the Task be your Form. Then adding can happen via the Form but editing can only happen by selecting the Task and filling in values in there. I can see that this could be undesirable.
Hope this helps!