Add RefreshText code