moved if statement that shows the second page

I did this so that it shows properly when it says "building a ..." and
ask to calculate