removed repeated next_preview_color.assign(prelevel,"")