Store elapsed time in local storage.