Keeping track of the active menu item.