Change text of ok if viewport not null