Replaced ArrayList with HashMap for storing unread notifications.