remember className for dynamic menuitems