Attach set_value to the interface and ui at the same time