diff --git a/res/layout/account_setup_confirm.xml b/res/layout/account_setup_confirm.xml
index a532fd8aa..acb762a0c 100644
--- a/res/layout/account_setup_confirm.xml
+++ b/res/layout/account_setup_confirm.xml
@@ -1,199 +1,228 @@
-
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_marginBottom="54dip" >
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:textSize="16sp" >
+
+
+
+
+
-
+ android:layout_below="@id/server_information_header"
+ android:paddingLeft="8dp"
+ android:paddingTop="8dp" />
-
+
-
-
-
+ android:orientation="vertical"
+ android:padding="8dp" >
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/com/fsck/k9/activity/setup/AbstractSetupConfirmActivity.java b/src/com/fsck/k9/activity/setup/AbstractSetupConfirmActivity.java
index 529ef5399..60d4d59e4 100644
--- a/src/com/fsck/k9/activity/setup/AbstractSetupConfirmActivity.java
+++ b/src/com/fsck/k9/activity/setup/AbstractSetupConfirmActivity.java
@@ -130,6 +130,7 @@ public abstract class AbstractSetupConfirmActivity extends K9Activity implements
mProtocolSpinner.setOnItemSelectedListener(this);
mSocketTypeSpinner.setOnItemSelectedListener(this);
mOkButton.setOnClickListener(this);
+ ((Button)findViewById(R.id.confirm_cancel_button)).setOnClickListener(this);
mUsernameField.addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {}
@@ -150,6 +151,11 @@ public abstract class AbstractSetupConfirmActivity extends K9Activity implements
case R.id.confirm_ok_button:
finishAction();
break;
+ case R.id.confirm_cancel_button:
+ // by deleting we make sure the user ends up in the init screen again instead of a useless accountlist
+ Preferences.getPreferences(this).deleteAccount(mAccount);
+ finish();
+ return;
case R.id.confirm_next_server_button:
// TODO: write this,... it will probably never be used since no isp has 2 host for exact the same thing
break;