Add CheckBox to check whether we want to apply the thresholding function