Replaced "dynRevitSettings.Doc" with "this.UIDocument" to fix build issues