Made sterilizeInputs method in MainActivity public