fixing mapping of led for buttons & encoders