Set pattern on reset method