create connection between UI controls and variable.