Reset UI after tag is written.
Remove unneded debug logs.