change judgment button class to active on click for prediction show page