That is an entirely different problem completely unrelated to the code you've provided here. I recommend you start a new
thread for that one.
But before we wrap up the original problem I can offer this advice. Your code as follows does not account for vua (terrible name) being null, where if it is null then your program will error with a NullPointerException
I recommend using a guard clause / null check which will make your code look mighty similar to how you started out: