handle selection options