Fixed new messages notification bug