Implemented editing of preferences while connected to server.