For future reference: there's another toggle besides pressing x, it's in the tools menu I believe, near the bottom somewhere. Many people assume x is the shortcut to this menu item, but they're actually entirely seperate, meaning that you can press x all you want, if you turned the gizmo off in the menu it will stay…