Self-trapping of magnon Bose-Einstein condensates in the ground state and on excited levels: from harmonic to box confinement.