Upated the cordova application for persistant storage.