bugfix: clone the colors array to avoid reference problems
bugfix: set default color of slider properly