Fix back button in preferences