Adding flash to the layout