Minor fixes in MainActivity

- Minor fixes in MainActivity