hit it.
Mine does the same thing. I have the ashtray out of there, and I keep change in it. It used to work fine, but my wife

had iced tea in the car and spilled it. Now, mine is tempermental at best. When it won't stay closed, I hold the cover down with one hand, and tap on it with one finger from the other hand. Whatever is sticking in there lets go, and it stays closed. I know it sounds weird, but it works for me. It will open and stay closed without issues for a few weeks until I have to repeat the "give it the finger" process again. Good Luck