updated flash notification helper for bootstrap 3