Refactor flashMessenger (Views and controllers helpers)