Change clearLocalStorage's behavior