AMENDED AND RESTATED RIGHT OF FIRST REFUSAL