Added functionality to save history connections from list as well as UI logic to handle the changes