Refactored flash notices and alerts
Refactored flash notices and alerts