Added settings activity, check configuration and network state