set Flash messegages type