Making pushNotificationFactory accessable from outside 2