Modified task status to Assigned from Pending and added condition to let admin do the task transion at any stage