diff --git a/src/musredit_qt5/mupp/PmuppAdmin.cpp b/src/musredit_qt5/mupp/PmuppAdmin.cpp
index 74626719f2d4bf965287dbb0e54dca23554a4881..d454ea03f7015f509f437efaae41cf168b03f8d7 100644
--- a/src/musredit_qt5/mupp/PmuppAdmin.cpp
+++ b/src/musredit_qt5/mupp/PmuppAdmin.cpp
@@ -158,9 +158,9 @@ bool PmuppAdminXMLParser::startElement()
     fKeyWord = eRecentFile;
   } else if (qName == "ignore_theme_auto_detection") {
     fKeyWord = eIgnoreThemeAutoDetection;
-  } else if (qName == "dark_theme_icons_menu") {
+  } else if (qName == "dark_theme_icon_menu") {
     fKeyWord = eDarkThemeIconsMenu;
-  } else if (qName == "dark_theme_icons_toolbar") {
+  } else if (qName == "dark_theme_icon_toolbar") {
     fKeyWord = eDarkThemeIconsToolbar;
   } else if (qName == "marker") {
     fKeyWord = eMarker;
diff --git a/src/musredit_qt5/mupp/PmuppGui.cpp b/src/musredit_qt5/mupp/PmuppGui.cpp
index 92e9b2ddec1f08e45f05b3f4148cf5284a1532af..aa8707c89fee6bb4dc3792720a320a0ebb42f0c7 100644
--- a/src/musredit_qt5/mupp/PmuppGui.cpp
+++ b/src/musredit_qt5/mupp/PmuppGui.cpp
@@ -250,6 +250,9 @@ PmuppGui::PmuppGui(QStringList fln)
   readCmdHistory();
 
   fAdmin = new PmuppAdmin();
+  fIgnoreThemeAutoDetection = fAdmin->getIgnoreThemeAutoDetection();
+  fDarkThemeIconsMenu = fAdmin->getDarkThemeIconsMenuFlag();
+  fDarkThemeIconsToolbar = fAdmin->getDarkThemeIconsToolbarFlag();
 
   fParamDataHandler = new PParamDataHandler();
   bool dataAtStartup = false;
diff --git a/src/musredit_qt6/mupp/PmuppAdmin.cpp b/src/musredit_qt6/mupp/PmuppAdmin.cpp
index 963afad469d2503c20dc0eba0e98338ddbea49df..43f7000a322e2e0e99a06b12e3eec026e1868162 100644
--- a/src/musredit_qt6/mupp/PmuppAdmin.cpp
+++ b/src/musredit_qt6/mupp/PmuppAdmin.cpp
@@ -158,9 +158,9 @@ bool PmuppAdminXMLParser::startElement()
     fKeyWord = eRecentFile;
   } else if (qName == "ignore_theme_auto_detection") {
     fKeyWord = eIgnoreThemeAutoDetection;
-  } else if (qName == "dark_theme_icons_menu") {
+  } else if (qName == "dark_theme_icon_menu") {
     fKeyWord = eDarkThemeIconsMenu;
-  } else if (qName == "dark_theme_icons_toolbar") {
+  } else if (qName == "dark_theme_icon_toolbar") {
     fKeyWord = eDarkThemeIconsToolbar;
   } else if (qName == "marker") {
     fKeyWord = eMarker;
diff --git a/src/musredit_qt6/mupp/PmuppGui.cpp b/src/musredit_qt6/mupp/PmuppGui.cpp
index 7f0482a7f03da2a30ef681f03adb278c36c91028..c9b74528a76b1dcec08168046349bae9fa1d5049 100644
--- a/src/musredit_qt6/mupp/PmuppGui.cpp
+++ b/src/musredit_qt6/mupp/PmuppGui.cpp
@@ -250,6 +250,9 @@ PmuppGui::PmuppGui(QStringList fln)
   readCmdHistory();
 
   fAdmin = new PmuppAdmin();
+  fIgnoreThemeAutoDetection = fAdmin->getIgnoreThemeAutoDetection();
+  fDarkThemeIconsMenu = fAdmin->getDarkThemeIconsMenuFlag();
+  fDarkThemeIconsToolbar = fAdmin->getDarkThemeIconsToolbarFlag();
 
   fParamDataHandler = new PParamDataHandler();
   bool dataAtStartup = false;