Refactored NotificationRunner to use dependency injection.

Prevents NullPointerException on app shutdown when injector goes away.