fixed a bug that custom events won't be fired when changing program status. it can pass action & arguments on load/resume program.