changes for flash message display wait