Fix menu and fix change mode.