Arduino Menu problem


I am quite new with the arduino and interfacing. Trying to make menu for my recent project although I cannot quite make it to work.

Basic idea is that it has to show many characterstics (such as temperature, pressure, volume, etc…). when I press and hold the enter button for 1 sec or more it has to go to menu. Sooo… while holding the button I made it to start calculating the time while pressed, it does that. After it, I made an “if” statement to go to another function and start main menu, but I does completely nothing. Please see attached code.
The menu is made to make adjustments to min max values of measured characteristics and if they reach those values it has to shut down the another circuit.

meniu.ino (2.59 KB)