You do this
switch (Taste)
{
case '1':
...
if (Taste == '1') {
...
} else if (Taste == '#') {
...
} else {
...
}
}
break;
➜ if you enter the first case, Taste is '1', how do you think it could be anything else magically afterwards since you did not change it? so your if is useless, there is no chance it can be '#' or anything else than '1'