add checkbox to work only for selected features