Changed console.log on click