Fixed a bug in the setAdminNotice() method.