Avoid crash when displaying first notification