Switch Case Menu Problem

Ok I tried with the serial.print (very good idea BTW) and found that selecting the back option change the logsmenu value to 1 not 0 like it should do. The thing is I´ve no idea why, the way I see the code it should be 0.