remove deprecated and unused code
use CursorLoader in HistoryActivity