Better handling of Network status. Configure FB set-up in tiapp