Fixes #39 - Deleted onDestroy on MainActivity; moved init of variables before checkDataAvailable