Beautify the li elements
Add cancel button
Listen destroy event and improve cancel listener