How to copy the value from one widget to another?