Wait for connection if the button is not pushed

At startup, the button has to be pushed immediately for the demo mode
to start. Otherwise the frame will wait for the connection forever and
keep retrying.