improve fct in tools namespace
added function to get selected value in scroll menu