Updated code to be compatible with latest changes to Listen gem