Changed default event to 'polling' and made the polling event trigger the change to server mode