clean up refresh method

refresh() was enclosed in redundant calls to runOnUiThread()
clean up batchactivity

remove old and unused variables