Fixed error of not able to create > 1 task

Fixed error of not able to create more than 1 activity for a user