Added permission for network state and external storage