Add titles and set the control to correct values