A switch statement uses a default case statement more than once. The default case must always be the last case statement in a switch statement (it is the fall-through case).
To correct this error
-
Use only one default case statement in your switch statement.