Added an undefined check in the condition that checks if the notification is closing before it's open.
Merge pull request #42 from mag382/undefined-check-on-fast-close

Added an undefined check in the condition that checks if the notificatio...