added logic to click on the one way button