add tag button now changes appearance if valid