Update CacheDetailActivity.java

put a db update into background thread.