Add a "phonegap" property to state