Fixed submission of application edit form