Fix subscribeToPush is not defined