Removed LocalCache.clear and replaced with a hard localStorage.clear as clear was leaving some stuff behind.