Linking up buttons and pages