moved choose criterion logic to radioButtons