Add a clear button for resetting the log
Clear log on clicking div