Reset warning colour on click

Currently, graphs change colour when the warning threshold is hit, and change back when new graph values reach the "safe zone". This must be changed so that the warning colour only resets on click events.