A rapid state transition in MAXI J1820+070