Fix for graph so renders after loading expenses tab from another tab