Implemented ConnectionReceiver to react to being connected and trying to submit forms.