Your problem is you have a book that 'teaches' App Inventor (Classic) and developers can now only use App Inventor 2.
Converting AI instructions to AI2 is possible. Most of the coding in both versions of AI is similar. All is not lost because the logic used in your obsolete book is identical or nearly identical to the logic used in AI2.
The following will help you 'convert' the books advice:
The conversion is awkward and is difficult because one needs to know the commands in both AI and AI2. Awkward but you can still make use of your investment. Follow the advice by the other posters..there are plenty of tutorial that are similar to what is in that book made especially for AI2 on the Web.
Regards,
Steve