Now checkboxes are working. But now there is another problem.