This change from predominantly light to dark forms in industrial areas is called industrial melanism ... only had a selective advantage when the selection pressure changed.