NotificationService: Clean up getApplication() use.