Fix a bug where notification banner style would not change correctly.