switch back to application window method