changed design of MainActivity significantly