Some refactoring done in PersonEditForm