Fwk: Created a separate update function for uiIconState
Fwk: Moved static functions to pdmDocument
Use icon update functions from pdmDocument