Ball pen kept upright by a magnet