Fix toggling of serial console switch at start
