Fixed error in MainActivity

Left it in the last commit