phonegap preference.html update