Updated connectionListViewController so that switches for on/off are working; implemented Common class and implemented comment function isConnectedToInternet