Fix statistics dialog
Merge pull request #381 from timrae/statistics-dialog

Fix statistics dialog