poll json and display result in toolbar.
grab every second the json url you specified in options and read 2 fields in it:
- "param": if param is equal to "ok", "ok" is displayed on the app icon (green background)
- "t": if param is not "ok", t value is displayed on the app icon (yellow background)
examples of json:
{"param":"ok"}
{"param":"error", "t":"fail"}