fix bug when opening numberpicker twice