formatResult from MainActivity to ConvertFormat