add selection object to store current selection and add usage in extract selection