Put back repaint for all cases since it is what we want. Make sure that if no algorithm or table are selected nothing is shown and apply button is disabled