Attach / Detach component

I tried that, but it seems to not be working…