finished date and time picker plus database changes.