Change number of columns of Checkboxes for each device?