Code refactoring. Added Support for persisting Weather Unit via localstorage