You did the right thing. It was right because even though the decision was straightforward, actually making it and carrying it out - putting Grandma's best before your own heartbreak - was devastating for you.

I am so so sorry about Grandma. Please lean on us here and take care of yourself.