added  ExistsMainDb property to the AppHelper.Data class