ui: Syntax fixes

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