Easy way to add checkbox preference settings

Thanks CM