Phonegap application with push notification plugin