Added gear restoring over websockets