Changed widgets according to selected list item.