Fixed a crash when `NotificationsActivity` was resumed after being killed by the OS.