HeadsUp: optimized preference handling
Avoid reloading preferences on each notification