Added NETWORK_STATE and INTERNET permissions