Fixed bugs in ViewContactPage. Added queries for contacts to databaseHandler. Fixed minor layout issues in GenericPage