Pre-populate the button selections based on the query string.