displayNotification: Add missing nil check, better whitespacing.