Bug Fix in BuildingMenu.js
  - Could not access Second page of BuildingMenu after using Undo