Adjust the menu index.