Fixed waiting and counting success/failes of activity updating