Fixed issue in CustomNavigationThemeModuleType class