Cast to User Interface

Set the variable on both at the same time.

Ok Thank you so much for your help!