back button between first and second page are working