Changing flash messages and fixing exception when all group removed from a asset_type