Refactor's button event handlers to ensure one handler per button.
Refactors to seperate out getting/parsing proxyEntry, adds test for the new method.