localstorage timer working fine