Update home screen in phonegap app