Update index.php

I noticed that leaving the $priority to the default value of 5000 will result in the webapp not changing colours.
If you set $priority = 500; everything works as it should.
Merge pull request #1 from Mitschgel/patch-1

Update index.php