public function activateCorrectMenuEntry()
    {
        $runtimeManager = $this->framework->getRuntimeManager();
        
        // Execute the pre search correct menu entry event.
        $runtimeManager->executeEvent('\\Zepi\\Web\\General\\Event\\MenuManager\\RegisterAdditionalMenuEntries');
        
        // Search the correct menu entry, if no menu entry is set
        if ($this->activeMenuEntry == null) {
            $menuEntry = $this->searchCorrectMenuEntry();
            
            if ($menuEntry !== false) {
                $this->activeMenuEntry = $menuEntry;
            }
        }
        
        // Execute the post search correct menu entry event
        $runtimeManager->executeEvent('\\Zepi\\Web\\General\\Event\\MenuManager\\PostSearchCorrectMenuEntry');

        // Activate the menu entry
        if ($this->activeMenuEntry !== null) {
            $this->activeMenuEntry->setActive(true);
        }
    }