@nWidart
You welcome!

But I have a doubt: would be this the optimal solution or just a workaround I figured out?

Are there better approaches or ideas out there?