#54 Fixed problem with submitting an activity.