Fix automatic selection of share link