NotificationsViewController Performance Improvements

Closes #2904

/cc @aerych (Thanks in advance sir!)

Should `_dynamicAttributesCache` be accessed through `self` here and in the setter below?