added localStorage support for numeral boxes