Added conditional logic based on screen number

Added logic to re-use same route.