Add setActiveMenuAndReplace methods