changed active boxes font and colours (according to box value)