Set the currently selected object in the selector, or clear the selection if selected is set to null.
The selector
the object to select or null