Bug fixed: model was not refreshed properly in the process of editing the book