I can´t believe I figure out how to fix.
Before calling the javascript function ChangeTab() I call the function:
osAjaxBackend.BindBeforeSubmit(function(){ document.getElementById('"+checkboxSelected.Id+"').checked = true;
});
Doing that it worked for me. The thing is, I don't know exactly what was causing it, but doing this, helped.