Enable extension only on selection