Cache the icon name instead of its resource uri.
CCBUG: 296894 (cherry picked from commit 17bd98d670b3e934dfc29f1a9dacf1eef17f35cf)