restore state of avoid* checkboxes to preferences