Improved colorbar-format to only 2 values

by using the remember-feature of the foreach loop
from TikZ. Now the color bar can be stated without
redundance.