Widget resetting variables to default

Separate thread: