Modified the continue button's functionality to work a little better.