adg-demo: update spin buttons before getting the values