Added user interface to main activity