Changed refreshData to protected, made appropriate subclasses for QueryActivity