updated BitmapHelper.java