I don't believe that your grandma "had" to die, but when she did, she was able to pass along something to you that you were able to put to good use. I think it is safe to say that is what she would have wanted. Maybe instead of feeling guilty that your grandma passed you can appreciate the help and peace of mind she has still managed to give you.