Fixed bug where when a new graph is loaded the selected vertex from the previous one is not cleared, resulting in attemps to calculate statistics for a non-existent vertex