Moved newNotificationQueue to Environment to avoid using reflection

I cleaned up the `DialogNotificationQueue.newNotificationQueue` as I mentioned in #442