I have a button in the app.js file which has an event listener that opens the preferences.xml sheet. I have customized this xml sheet to my needs and it all works well. The only problem is that when I ran the app and I change a string in the preferences window, then go back to the app.js windows, the preferences does not take affect until I quit the app and re-open it.
Any ideas why the preferences I change doesn't take affect right away? Any way around it?
Running titanium 3.2.3
Android API level 17