Fix PHP warning in notification class

* Fix PHP Warning if no notification settings exist yet

Fixes #346