fixed bug regarding statistics clearing after screen orientation changes