Color-shifting completed (I hope)

The thread should stop and start with the app properly now. The color -
shifting isn't perfect, it jumps to the next color when changing
activities and starts shifting from there.