writer 5.1.3.2 does not learn new words

New words that are added to the library are not added. The next time I open that same doc, the same word is underlined. It has not been learned by writer.