added logic to highlight only new messages