Adding a stopped state in the state machine and switching from BGR to RGB.