Changes for detect DB in android