How to pin two taps

Just recently, two of my ten taps lost their pinned tap number. How do I add that back?

Press “Add to menu”, then tap “Advanced options”, then “Add pinned tap”.

Can this be done on iPhone or it needs to be done on the computer?