Add cast to text for notificationstore.