fixed a bug with constantly updating words in the learn fragment