fixed notfication API call

The notification API for chrome changed and notifications are now broken. This fixes it.