render selected and activated ui