update getSumOfRecordByRange quey

from date range to time range
update record class
update landscape activity
update Main activity