Use getCurrentBlog() instead of WordPress.currentBlog, as it could be null if the OS killed the app.