Wouldn't `menuItem.isOpen = false;` not be required since `closeMenu()` does that already?