-Fixed issues where activityCompleted never gets called with a fail.