Device functions are not working

I was just finishing my map, i was building the team selector and all of a sudden the functions of all the devices stopped working. The functions that were already on the devices were still there, but when I added new devices I couldn’t add any more functions, the option to add them stopped appearing.

Someone knows how can i fix this??

I found in Creative it sometimes bugs out like this and needs a restart or refresh.