Restore parent form's settings when subform ends