Polling the secret states and refreshing the UI accordingly