Add support for errorstate statetype in notification-ui