fixed a lot of formatting in mainactivity