Changing the colors of the flash and making them disappear if needed