create dynamic material instance not working?

Can anyone help me, I am really stuck…