Fixed back button issues of going to incorrect screens.