Enter the number of thread in the menu