Tweak communication between edit, taskMaster

created function for ease of implementing editing and existing task