Fixed another bug with the registration/back button