Bug fixes in cache refresh
Update phonegap version