Added activeness check to NotifyViews function