fixed npe
enabled update on network change
added additional analytics metrics
added att type
added goals