added v1.2.0 and changed the seqence of flash mode.