public void onPictureUpdated() {
   if (mPicture == null) return;
   ImageButton img = (ImageButton) findViewById(R.id.profile_picture);
   img.setImageBitmap(mPicture);
   img.invalidate();
   img.requestLayout();
 }
 private void unselect(int id, int drawable) {
   ImageButton button = (ImageButton) getActivity().findViewById(id);
   button.setImageResource(drawable);
   button.invalidate();
 }