webui: Fix saving editing server keys
webui: Only restart currently edited server instance if it's running (fixes inability to clear an existing key as it would be auto-regenerated)