update localstorage to remember checked items.