replace interactionDetail.getConfidenceTypes().get(0) by a selected
confidence type which is stored in preference object