modifed the main activity UI