Remove selected tags on reset. (UseAllFive/Kneon#637)

Before this, only the drop down was cleared. This is wrong, it should clear the selcted tags.
Remove unused clear_tags function.
Add space between if, while, for, and parentheses.