Fix the toggle behavior of prelude-mode.