made sure chooseFont() method returns either pen or pencil