Should the notice/alert be surrounded by an if to prevent them from appearing unless the flash is set?