Fixed null pointer crash in ExtensionSettingsHandler.