changed layout for main activity