Added functionality to edit and remove buttons in printer connection window