clearing localStorage IF it is from yesterday or older