Provide method setSelection