Handle local storage availability only in localStorageAvailable method