moved setting of UI components delegate to constructors