Refresh Stats in background. Also fixes an issue where the progress indicator is never stopped.
Add comment
Upgrade Stats when the app is moved from Background to Foreground. Also improved the code that handles application lifecycle events.
Switch back to the correct timeout
Remove comment
code style fixes
fix #1252 for create blog screen
code style fixes
Refresh Stats in background. Also fixes an issue where the progress indicator is never stopped.
Add comment
Upgrade Stats when the app is moved from Background to Foreground. Also improved the code that handles application lifecycle events.
Switch back to the correct timeout
Remove comment
Add a timestamp that prevents refreshing stats in background if "last-refresh" time is less than 30 minutes.
Merge branch 'issue/1246-preloading-Stats' of https://github.com/wordpress-mobile/WordPress-Android into 1246-preloading-Stats

Conflicts:
	src/org/wordpress/android/WordPress.java
	src/org/wordpress/android/ui/WPActionBarActivity.java
Update the Stats timer when the user refreshes stats in Foreground.
Merge branch 'develop' of https://github.com/wordpress-mobile/WordPress-Android into 1246-preloading-Stats

Conflicts:
	src/org/wordpress/android/WordPress.java
Fix merge conflicts
Renamed the method that checks if Stats should be refreshed in BG
now only the corresponding tab fragment is refreshed when themes are fetched.
Also prevents user to pull to refresh in search view.