Save datalistener in memory