Restructed code to be more efficient and not show bizarre animations. If a device window was open, and the user switched back to the camera window, then when the user switched back to the device window, there would be no back button, and the user is stuck on the device window screen.