Make 'Select' button of reference plugin work.