Fixed bug for checkboxes-presentation, separated view from code for table-view