Setting to phonegap mode