Put the Activity listener inside Recorder.js