Add support for registering colors and changing sensor.. NOT WORKING OPTIMALLY