MoneyDatabase

Completed the functions about the filter in HistoryActivity, also wrote
some comments