Show all the other bombs after loss - problems

dialog message shows up before the bombs show

even after adding repaint.