reorganize the palette and restart on new picture