Storyboard bug fix

Function wasn't declared as local.