added colour to example app

now you can modify the color directly from the example app. It's now
using a easier way to change the colour of the progressbar. Some small
changes of the example application too.