Migrate tag selection dialog.
Migrate edit activity.
Various compile error fixes.