Confidence-Based Task Prediction in Continual Disease Classification Using Probability Distribution