clean unused preferences