Save badge design in database