Adding toggle to display input spectrum