My .22 CFX was doing the same thing, poping the lever off.
I found out it was the O ring on the loading block was leaking a little.
Take a piece of tissue paper and place it on the top of the loading port and fire the rifle and see if the paper moves, of course put a pellet in first.
Once I changed the O ring the poping off lever cured itself.