I already had the gun with me. I can't buy the gun again because I had it, but not the same story with the cake.
Then you're missing an event somewhere, visit a bunch of other girls and her storyline will continue.