add checkboxpreference with proximity