Fixed databse data connection

Bug fixed in:
ApplicationActivity.java
contact_list.xml
list_layout.xml