setPreloadedText is deprecated