Fix configuration bug (script tested and proven)

in accordance with:
https://github.com/katzer/cordova-plugin-background-mode/issues/43
https://github.com/katzer/cordova-plugin-background-mode/issues/39
https://github.com/katzer/cordova-plugin-background-mode/issues/40