[Grip] add grip pattern save logic.