commands were ignored in LyX (LaTeX). Luckily, there is a soluton. Just add the following code after the TOC.
Hint: In "book" classes you may often also use
\mainmatterto indicate where the parts of your book start. This way you do not have to change the