Fix display flash messages in application helper