ui: Minor optimiztaion

Just sue get() instead of our custom stuff.

Change-Id: Ie4a57b7a03c451c7c11cbff97772a5e48986d6e0
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>