code: @Override
  	public void onClick(View v) {
  
  		// Show a progress bar...
  		final ProgressDialog progress = progressDialogFactory.show(context, I18NConstants.DLG_SETTINGS, I18NConstants.PLEASE_WAIT);
  		
  		// Get the updated info
  		UserSettings profile = new UserSettings();
  		profile.setFirstName(view.getFirstNameEdit().getText().toString().trim());
  		profile.setLastName(view.getLastNameEdit().getText().toString().trim());
  		
  		
  		// Settings will only be changed if the image was altered
  		// See ProfileView#onImageChange
  		Drawable imageOn = view.getProfilePictureEditView().getProfileImage();
  		
  		if(imageOn instanceof BitmapDrawable) {
  			profile.setImage(((BitmapDrawable)imageOn).getBitmap());
  		}
  		
  		if(view.getAutoPostFacebook() != null) {
  			profile.setAutoPostFacebook(view.getAutoPostFacebook().isChecked());
  		}
  		
  		if(view.getAutoPostTwitter() != null) {
  			profile.setAutoPostTwitter(view.getAutoPostTwitter().isChecked());
  		}
  		
  		if(view.getNotificationsEnabledCheckbox() != null) {
  			profile.setNotificationsEnabled(view.getNotificationsEnabledCheckbox().isChecked());
  		}
  		
  		if(view.getLocationEnabledCheckbox() != null) {
  			profile.setLocationEnabled(view.getLocationEnabledCheckbox().isChecked());
  		}
  		
  		profileSaver.save(context, profile, new UserSaveListener() {
  			
  			@Override
  			public void onError(SocializeException error) {
  				progress.dismiss();
  				
  				if(errorHandler != null) {
  					errorHandler.handleError(context, error);
  				}
  			}
  			
  			@Override
  			public void onUpdate(User entity) {
  				progress.dismiss();
  				context.setResult(CommentActivity.PROFILE_UPDATE);
  				context.finish();
  			}
  		});
  	}
docs: /* (non-Javadoc)
  @see android.view.View.OnClickListener#onClick(android.view.View)