update page action icon when tabs are selected