Show flash message by type.
Merge pull request #1229 from kayue/patch-14

Flash message bug fix.