Change switch case parameter from String to Char