Showing mode changes by colouring the sidebar