onDestroy added to decrypt to clear cache
Changed to decrypt text to window