Added function incrementMessageBadge()