added spinner to transform button, removed console.logs