improved flash notifications