Adding code to reproduce checkbox random error