fix device queries filtering, add textAlignment to UILabel