Add clearLocalStorage method