added button to go to next query