Makes generation of the notification area element more elegant