Save logic for public header settings