fix delegate for posting register.
avoid error after posting.
this was not merged from lp:openpetraorg because the SetupDelegates.cs file has been moved and renamed