replaced if cascade in TextUI to switch case with String. Now requires
Java 1.7
changed pom to require Java 1.7
solved the problem that buttons look different on Mac.