Fixes for possible crash when presenting in a transitioning UINavigationController.
Fixes for possible crash when presenting in a transitioning UINavigationController.

yusuga/CSNotificationView,AlexanderMazaletskiy/CSNotificationView,Suninus/CSNotificationView,problame/CSNotificationView,taskworld/CSNotificationView,mbalex99/CSNotificationView