Mostly implemented the history functionality

1. implemented "clear history" button inside history view;
2. implemented "search" button inside history view;
3. implemented filter inside history view;
4. implemented long on-click behavior for entries in history view;
5. created history details view (also added date)