Refactored UI code, implemented GdxTextField