Triggering both method handleResponse and handleFault

I am getting error while calling the method below

Backendless.Persistence.save( fullTimeJob, new AsyncCallback<FullTimeJob>() {
public void handleResponse( FullTimeJob fullTimeJob1 )
{

progressBar.setVisibility(View.INVISIBLE);
cardViewNextButton.setVisibility(View.VISIBLE);
startActivity(new Intent(E_AccountSetup_FullTime_CodeNumber.this, F_AccountSetup_FullTime_Congo.class));
Toast.makeText(E_AccountSetup_FullTime_CodeNumber.this, “Success”, Toast.LENGTH_SHORT).show();

sharedPreferences.edit().clear().apply();

}
@Override
public void handleFault( BackendlessFault fault )
{
Toast.makeText(E_AccountSetup_FullTime_CodeNumber.this, “Failed\n” + fault.getMessage(), Toast.LENGTH_SHORT).show();
progressBar.setVisibility(View.INVISIBLE);
cardViewNextButton.setVisibility(View.VISIBLE);
}
});

error : [Can’t create handler inside thread that has not called Looper.prepare()]

before anything was working fine now it is giving me error
one more problem is that both methods are triggering i.e handleResponse and handleFault
my data is getting saved in the backendless and at the same time i am getting error

I believe the error is not from Backendless. Perhaps the following will help:

Regards,
Mark