hi Stil.
First, i think you should consider what the button has and why he has only come in with a min raise. What did you have him on that resulted in your limp to his raise? Are you showing weakness of hand here or weakness of player?
Secondly, when the BB raises twice the pot, what were your thoughts as to what he had?
This is interesting because you called both raises. The button folded to the BB raise, so maybe if you had raised, if BB hadn't, then button would have folded and you would have won the hand pre flop.
As it is, BB raises and you call him. Again, is this a sign of a weak player or a weak hand, or maybe you are trying to rep a string hand and trying to get some action from your opponents.
So, then when the flop arrives, why do you go all in?
This is where having view of what the BB may have is important, as you may well be behind here based on the raise of the BB. You don't have the
equity to push him off calling as he is getting super
odds for anything really. Maybe a shove pre flop rather than a call would have shown greater strength.
After the flop betting its down to crossing your fingers and hoping for the best from a beaten position. Luckily you won.
Some good thinking and learning points in this hand.
Would auto rebuy to the minimum buy in have given you a greater strength position in terms of stack size?
Good luck
BB