Disconnecting the battery for 10 seconds will reboot the engine controller and reset the check engine light. This is probably what set the first code. The light will reset itself after 50 key starts if the condition that set the code is no longer present or another code has developed. The Evap purge code may indicate further problems.
Try the battery disconnect method first and see if that's all it takes.
RG