diff --git a/app/static/js/navigation.js b/app/static/js/navigation.js
index ac76fbf..8591977 100644
--- a/app/static/js/navigation.js
+++ b/app/static/js/navigation.js
@@ -9,6 +9,7 @@ document.addEventListener('DOMContentLoaded', () => {
       function onMouseEnter() {
         clearTimeout(timeout);
         openMenu(item, isTopLevel);
+        refreshEventListeners();
       }
 
       function onMouseLeave() {
@@ -32,10 +33,18 @@ document.addEventListener('DOMContentLoaded', () => {
         } else {
           openMenu(item, isTopLevel);
         }
+        refreshEventListeners();
       });
     });
   }
 
+  function refreshEventListeners() {
+    const updatedMenuItems = document.querySelectorAll('.nav-item.dropdown');
+    const updatedSubMenuItems = document.querySelectorAll('.dropdown-submenu');
+    addMenuEventListeners(updatedMenuItems, true);
+    addMenuEventListeners(updatedSubMenuItems, false);
+  }
+
   addMenuEventListeners(menuItems, true);
   addMenuEventListeners(subMenuItems, false);