Hook up UI's sample size textbox to the viewmodel.