Update UI values in separate method.

Signed-off-by: Mariusz Fik <fisiu@opensuse.org>