Grouping te text messages Version 4- Rendering on UI