Added caching to enum selection box.