beginning of coloring and on click listener for check box