Storing steps in local storage