init thresholding gui to the right tab