getThreadPool instead of getActivity

Fix this error:

W/PluginManager(  502): THREAD WARNING: exec() call to PushPlugin.register blocked the main thread for 27ms. Plugin should use CordovaInterface.getThreadPool().