fix regression which broke settings dialog

have to check which segue we're going for before setting the selected record!