Updating dialog and integrated TaskListFragment with database