refactor on MaterialCheckBox.class