added dialog box which shows date, times and app states returned from sqlite database.
added dialog box which shows date, times and app states returned from sqlite database.