u8glib and M2tklib, showing a menu on button press..

And how do I prevent the code in loop() to block the rest of my application?