UI: possible NPE prevention

Change-Id: Ie8925e63f7cd0343c7d1379a8f830ca49b45d448
Signed-off-by: Shahar Havivi <shaharh@redhat.com>