renamed var
wired up values checkbox (to the check icon only)
show the selected tab