conditional activation for textbook buttons