[Refactoring] Rework the CodeIssuePad ui update code.