Adds code to find the selected checbox item , props , and target