When trying to set checkbox the toggleSelected return undefined value, stopping the check event chain and thereby isn't the checkbox "visually set".

from: afterSelectionChange: function () { },
to: afterSelectionChange: function () { return true; },

since the return statement on line 1633:
return self.afterSelectionChange(self, event);
returns undefined without the "fix" and causing the mentioned problem.