Changed console.log to debug
Implemented remove button