Data is saving to local storage.
Fixed a minor problem with the getTheather function.