Add support for errorstate statetype in notification-ui

(cherry picked from commit 5834ae756727aea18d346fe4a5f349c21b4a5d72)