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.