HAP-548 - Second click on the "Refresh Repositories" button resets the repositories