Keyboard backlight UI stuck on Touch Bar MacBook Pro
You can also use a Terminal command to refresh the Touch Bar. 


Launch Terminal
Type in the command pkill "Touch Bar agent" and hit Return. 


It should help you to fix this issue.