Moved checking for last Refresh to onResume to fix Issue #8