I'm developing an application that runs continuously, and has three buttons, corresponding to three different actions. I have used an event structure, and defined different cases, to be executed when the button values change. The problem is that while is waiting for an event, I need the application to keep on running, not to be waiting. Hay can I solve this problem?