diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2cbdcf8..83fdcf3 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -39,9 +39,24 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -65,23 +80,108 @@
-
-
+
+
-
-
+
+
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -672,15 +772,25 @@
@@ -719,6 +829,8 @@
+
+
@@ -769,6 +881,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -839,8 +1017,6 @@
-
-
@@ -1034,41 +1210,45 @@
1420402635876
1420402635876
-
+
+ 1420452189686
+ 1420452189686
+
+
-
+
-
+
-
+
-
+
+
-
@@ -1114,6 +1294,7 @@
+
@@ -1128,52 +1309,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1186,7 +1321,11 @@
-
+
+
+
+
+
@@ -1205,7 +1344,13 @@
-
+
+
+
+
+
+
+
@@ -1248,7 +1393,11 @@
-
+
+
+
+
+
@@ -1267,7 +1416,13 @@
-
+
+
+
+
+
+
+
@@ -1310,7 +1465,11 @@
-
+
+
+
+
+
@@ -1329,7 +1488,13 @@
-
+
+
+
+
+
+
+
@@ -1358,38 +1523,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1400,41 +1533,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1450,82 +1548,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1535,31 +1557,252 @@
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3d23aed..bce11b9 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,7 +1,30 @@
+
+ android:versionCode="2"
+ android:versionName="1.0.1" xmlns:android="http://schemas.android.com/apk/res/android">
.
+ *
+ * Marcel Michael Kapfer
+ * marcelmichaelkapfer@yahoo.co.nz
+ *
+ * Version 1.0.1
+ */
+
package de.marcelkapfer.morseconverter;
import android.app.Fragment;
@@ -13,6 +35,7 @@ import android.view.ViewGroup;
import android.widget.TextView;
+
public class DisplayMessageActivity extends FragmentActivity {
@Override
diff --git a/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java b/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
index 0ed2cbb..83a99e2 100644
--- a/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
+++ b/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
@@ -1,3 +1,25 @@
+/*
+ * This is a Android application for converting writtenMorse and normal morse code.
+ * Copyright (C) 2014-2015 Marcel Michael Kapfer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ *
+ * Marcel Michael Kapfer
+ * marcelmichaelkapfer@yahoo.co.nz
+ *
+ * Version 1.0.1
+ */
+
package de.marcelkapfer.morseconverter;
import android.app.Fragment;
@@ -428,7 +450,7 @@ public class MainActivity extends FragmentActivity {
StringBuffer output = new StringBuffer();
input = message.toString().toUpperCase() + "#";
StringBuffer inputToSign = new StringBuffer(input);
- while (inputToSign.toString().equals("#") == false) {
+ while (!inputToSign.toString().equals("#")) {
int d = 0;
boolean signFull = true;
StringBuffer sign = new StringBuffer();
diff --git a/app/src/main/res/layout/activity_display_message.xml b/app/src/main/res/layout/activity_display_message.xml
index 75c7aae..5bffc80 100644
--- a/app/src/main/res/layout/activity_display_message.xml
+++ b/app/src/main/res/layout/activity_display_message.xml
@@ -1,3 +1,27 @@
+
+
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->
.
+
+ Marcel Michael Kapfer
+ marcelmichaelkapfer@yahoo.co.nz
+
+ Version 1.0.1
+
+-->