make sure to save textbook name when it changes