enable custom class on global notification