Make selection tracker a component