Corrected the PrintSelectedInputSettings function