Updated buttons to work - have to change all the buttons.
Started adding flags to make sure the page loads before the program tries to push a view controller onto the stack.