Use the extras of the intent to determine if we are connected to a WiFi network and, in case we are, to get the SSID. This allows to trigger profile changes only when the status is either DISCONNECTED or CONNECTED and it also ensures that we process each event according to the network status that caused it rather than the current one. Change-Id: If7598bc9502f94bb2f6f7f274538df346fbb4869