Chose track color

Hello there,
first of all - thank you for gpxviewer and sharing the source. 
Looking for a somewhat more colorful map, I tried to add a "select track color" feature to gpxviewer. Actually my first lines of python ...  If this is of any use and somewhat ok, I'd be happy if I could help improving the tool.