Prevents crash due to emtpy settings dictionary

Fixes #2777

This PR will just prevent crashes due to empty Notification Settings dictionary (which can have multiple reasons). 

In an upcoming iteration we'll be killing this code, entirely, and replacing this with a Simperium-backed component (*NotificationsManager* is up for a full refactor).

/cc @sendhil