User Interface Working

Finally managed to make the UI work properly