storing user checkbox values in localStorage