Worked on saving and loading server settings in preferences