just moved flash notice to application layout instead of index photo view