Fixed back button functional