[doc app] Improve switching app mode