update to buttons and the connect .xml & JAVA.