Made a listener for the mobile app.