Made conditionalPanel work