Cant use function

Im tring to execute a function, but i get this error :
(Its a led controlling app)
Error : UX function not found: ‘SetColor’?: Error : Object reference not set to an instance of an object
there my code :

The callback just expects a name, you need to use an Observable instead of calling a function with parameters from UX.