Change strings and formatting arond presets towards data attribute definition