checkbox in cpanel but how work?

 

Hi guys i notice some error but strange  error if some one cangive me some suggest , because i want resolve it by my self  because the code is too large

i attach a video of defect 

in practical:

When I click on the checkbox, at the variable level, the variable changes as if I had clicked it, but the checkbox is not flagged. Then, after pressing multiple times, it eventually works.

Why do you think this happens? What could be causing this issue?