first use of localStorage to persist scale settings - debugging