The refresh option should invalidate the caches (so next time a WebService is invoked data from cache is not retrieved).
Deleting the cache is a bad idea because if the device comes to "offline" mode we've lost all the cached information
This require changes in WebServices for indicating WebServices that are going to store information in cache but, when the device is connected, they must retrieve always information not cached. Instead using a flag called "cache", we need two different ones "saveToCache" and "getFromCache" so we are going to return cached information based on this condition:
if (preSets.getFromCache || (preSets.saveToCache && !MM.deviceConnected())) {