Fixed checkbox values so they save to local storage.