Refresh git status only if ui is open