fix bug of 'pending activities do not update after submission'
Merge pull request #162 from wangqiang1208/bugfixing/submissions

fix bug of 'pending activities do not update after submission'