fixed the crash when updating NotificationsViewController