Fixed bug so now link button doesn't have to hit twice to link again