Define DELETE task when task exists