Fix switching back to normal mode from VI
If you switch to VI mode and then back to normal mode from the config dialog, the view stays in VI mode.
If you switch to VI mode and then back to normal mode from the config dialog, the view stays in VI mode.