fixed bug with main screen fragment onDestroy()