Add Preferences menu.
Respect persistent notification preferences.
Refactor preferences menu.
Extend in-app message.