Refresh button of background agent

Now sometimes the chat records of background agents are not synchronized correctly, so they can only be loaded after being refreshed.