Add basic functions

Function on progress:
gesture on item without conflicting with clicking;
update UI after changing database contents;
date setting dialog should have the cancel button;
edit texts should cause database to modify;
notify user when the dates of event comes;