The JSON containing the appID service state seems to have changed, since the last implementation. THe new code tries to make sense of the new structure of the JSON object. Currently the only service that seems to have the "Configurable" state seems to be the Push Notification, so the code only handles that case. Also I could not simulate the "Unavailable" state, se respectively such state would most probably not be shown correctly if it exists.
AppID features states "Enabled/Configurable" determined from the JSON
Properties handled differently