Dialogs design sharpened.

Database connection in SinglePersonActivity established.