added flash to app view