- Replaced updateNotification with persistNotification
- Notification type should be string for easier handling
- Added flushNotifcations method