Create a functionality to be able to add the tag to coredata