Publish activity flow fixed

On failure you can now resubmit.
Merge pull request #265 from elihart/publish

Publish activity flow fixed