Improved the functionality of refreshing adapter list