save last learned string into DB (for debugging purposes)