if the application is run for first time, network connection is set to Direct connection