fixed some bugs, added button to switch the number systems

fixed some bugs
added button to switch the number systems
added Constants.JAVA do make to code more legible