C:\temp\Untitled 1.vi suggests that VI is not saved. And while no error appears in such situation, palette file is not changed.
I saved a VI under this path and it is indeed added to Cluster palette - so the code is correct. I used LV2020, but I wouldn't expect it to make a difference.