When the layer `visible` property is changed, the checkbox in the GUI should to be updated automatically