Add validate_notification which does all the
validation before showing the notification.
Add options for event types.