Database with Interval and listView