Added a check if tags exist when saving a note