Fixed value not being retreived correctly if the value of a NumberPicker is changed manually. Clear focus to the NumberPicker before using getValue() fixes the issue.