Change deprecated clearCache method to refresh in lexicon clearCache

via #8444