configured event listener to read out the input from menu