update pictures for widget
switch uri parsing method

use Uri.parse() and .getQueryParameter() instead of a regexp, more
robust.