Fix a problem when they were too many values.
The colour stayed constant even for a coloured classification. The
threshold stayed equal to 0, so the colour was left unchanged. Fixed by
switching some int values to double values.
Resizing the simple legend editor. it's nicer now :-)
Merge pull request #335 from agueganno/quick-change

Two improvements : clasification and UI