Module relay auto reset itself

Seems you have added a 3.3volt regulator without the decoupling caps.
Leo..