configure picker with configuration class