combining two sketches then returning to the first from second

Thanks for the reply but unfortunately the return; takes you straight back to the first function without allowing you to execute the button presses in the second function.