Adding necessary UI elements