Save input values to localStorage