Implement flash messages control