Fixed background change when using back button