HC-05 sends endless println messages and does not respond

On its own changing between IF-ELSE and SWITCH-CASE could not possibly make any difference to a program.

Sometimes, the erratic behaviors are changed, which are called side affects.