fix issue 1886 and created class TagsDialog

edit: removed old info.

I created a class TagsDialog to handle the tags dialogs. Interesting enough, the problem with the radio buttons doesn't happen anymore. Now they are always red.

Also, the itemlist is now sorted in the TagsDialog class to ensure only tags are sorted. I hope the code is good enough. I've made some tests and I believe it works, but of course, probably needs more testing.
I was just taking a look again in the code. Here is a small problem.
It should have an ```if``` statement. Otherwise, if the tag is duplicated if it already exists.
```
if (!mAllTags.contains(tag)) {
    mAllTags.add(tag);
}
```

I'm not at home right now, so if anyone want to fix it just go ahead. If the problem is still here when I get back, I'll do it.