Get weight and put in local storage