Exit on change in set of cordova platforms