changing ui of the main activity