Added FormattedText cache
Added GetFormattedTextFromCache method