Make TextSelector use vector instead of static list