Fixed issue with enable Push

Now enablePushNotifications can be called from activity instead of
application.