added categroy support to Notification class