I have a grid layout, populated dynamically, i use a prefab that i add to the script and i insantiate it, everything works expect when i click on the button, the function is