Phonegap reset