Fixed dwellValue coloring and added event handling for color changes (left and right arrow key)