Don't crash if no file is opened
In case no file is opened and the user clicks on the "Goto my financial summary page" link of the welcome page a crash happened. This change will show an informative message instead.