Fixed sync issue between IAP callback and Cordova callbacks